package com.yuhong.reggie.mapper;

import com.yuhong.reggie.entity.Orders;
import org.apache.ibatis.annotations.Insert;

public interface OrdersMapper {

    //插入数据到订单表
    @Insert("insert into orders values(#{id},#{number},#{status},#{userId},#{addressBookId}," +
            " #{orderTime},#{checkoutTime},#{payMethod},#{amount},#{remark},#{phone},#{address}," +
            " #{userName},#consignee) ")
    Integer save(Orders orders);
}
